/**
 * @author Ucar Sahin
 *
 * 20.04.2011
 * Therapy.java
 */

/**
 * information:
 * represents the table Therapy on the database
 */
package at.fhv.easyDietWeb.shared.db.diet;

import java.util.Date;

import at.fhv.easyDietWeb.shared.db.masterData.Patient;
import at.fhv.easyDietWeb.shared.db.masterData.Person;

import com.google.gwt.user.client.rpc.IsSerializable;

public class Therapy implements IsSerializable
{

	private int _therapyId;
	private String _note;
	private Date _startDate;
	private Date _endDate;
	private Patient _patient;
	private String _state;
	private Person _assignedBy;

	public void setTherapyId(int therapyId)
	{
		_therapyId = therapyId;
	}

	public int getTherapyId()
	{
		return _therapyId;
	}

	public void setNote(String note)
	{
		_note = note;
	}

	public String getNote()
	{
		return _note;
	}

	public void setStartDate(Date startDate)
	{
		_startDate = startDate;
	}

	public Date getStartDate()
	{
		return _startDate;
	}

	public void setEndDate(Date endDate)
	{
		_endDate = endDate;
	}

	public Date getEndDate()
	{
		return _endDate;
	}

	public void setPatient(Patient patient)
	{
		_patient = patient;
	}

	public Patient getPatient()
	{
		return _patient;
	}

	public void setState(String state)
	{
		_state = state;
	}

	public String getState()
	{
		return _state;
	}

	public void setAssignedBy(Person assignedBy)
	{
		_assignedBy = assignedBy;
	}

	public Person getAssignedBy()
	{
		return _assignedBy;
	}
}
